package tech.aistar.corejava.day02.day02_work;

/**
 * Created by 86133 on 2019/7/16.
 */
public class Test03 {
    public static void main(String[] args) {
        //定义三个变量，并且赋初值
        int a=50;
        int b=40;
        int c=30;
        int sum;
        sum = a+b+c;
        //输出三个数和
        System.out.println("三个数和:"+sum);
        //输出平均值
        System.out.println("三个数平均数："+sum/3);


    }
}
